<?php
if(!defined("PAGE_ENABLE")) exit;
/**
 * @author Josef Fröhle
 * @copyright 2010
 */

class PortalHome_Controller extends Controller {
    
    function __construct() {
        
        parent::__construct();
        $this->smarty_set('tpldir',$this->ClassName. DS);
            
    }
    
    function Index () {
        
        #print_r( $_POST);
    #    for($i=0; $i<func_num_args();$i++) {
    #        print_r( func_get_arg($i));
    #    }
	#   echo realpath(dirname(__FILE__)."/../helper_class/");
        $this->goNoneSSL();
         
    #    global $autoloader;
    #    $autoloader->registerDirectory(HELPERDIR.DS."Register".DS);
        
        $this->smarty_view($this->ClassName. DS . 'index.html');
        
    }
    
    function Impressum () {
        
        $this->goNoneSSL();      
        $this->smarty_view($this->ClassName. DS . 'impressum.html');
        
    }
    
    function Datenschutz () {
        
        $this->goNoneSSL();      
        $this->smarty_view($this->ClassName. DS . 'datenschutz.html');
        
    }
    
    function AGB () {
        
        $this->goNoneSSL();      
        $this->smarty_view($this->ClassName. DS . 'AGB.html');
        
    }
    
    function Screenshots () {
        
        $this->goNoneSSL();      
        $this->smarty_view($this->ClassName. DS . 'screenshots.html');
        
    }
    
}

?>